/*
 * @Author: zhangjingyu
 * @Date: 2020-11-24 10:12:56
 * @LastEditors: zhangjingyu
 * @LastEditTime: 2021-04-28 16:22:56
 * @FilePath: \vprisk10.14\src\config\glo_loading.js
 * @Description: 
 */
import {Loading} from 'element-ui';
import {loadingConfig} from './loadingConfig.js' //全局的一个基本参数配置

var loading = null ;
const loadingShow = () => {
  loading = Loading.service(loadingConfig);
}

const loadingHide = () => {
    loading? loading.close():"";
}

const loadingObj={
  loadingShow,
  loadingHide
}

export default loadingObj